package Date_package;

import java.util.Calendar;
import java.util.Date;
import java.util.Locale;

public class DateExample 
{
	public static void main(String[] args) 
	{
		Date d = new Date();
		System.out.println(d.toString());
		
		Calendar c = Calendar.getInstance();
		System.out.println(c.getTime());
		
		Locale loc = new Locale("en","US");
		Calendar c1 = Calendar.getInstance(loc);
		System.out.println(c1.getTime());
		

	}

}
